centroid and median of a triangle